package com.kai.service;

import com.kai.pojo.Coach;
import com.kai.pojo.dto.CoachDto;

import java.util.List;

public interface CoachService {
    int selectCoachByName(String name);
    int selectAllCoachCount(String name, String sex);
    List<Coach> selectAllCoach(String name, String sex, int i, int pageSize);
    String updateCoachState(String state, String id);
    int updateCoach(CoachDto coach, int value, int value1, int value2);
    int addCoach(CoachDto coach, int value, int value1, int value2);
    int deleteCoach(String id);
    List<Coach> selectCoach();
}
